import { Component, Input} from '@angular/core';
import { SettingsService } from '@delon/theme';

@Component({
  selector: 'chat-message',
  templateUrl: 'message.component.html',
  styleUrls: ['./message.component.less'],
})
export class MessageComponent{
  activeUserId;
  @Input("message")
  message:any = {};

  constructor(private settingService: SettingsService,){
    this.activeUserId = this.settingService.user.id
  }
 
}

